<?php

use yii\helpers\Html;
use yii\widgets\Pjax;
use backend\modules\Product\widgets\EntityDetail;

/* @var $this yii\web\View */
/* @var $model common\models\c2\entity\Product */

?>

<?php Pjax::begin(['id' => $model->getDetailPjaxName(), 'formSelector' => $model->getBaseFormName(true), 'enablePushState' => false, 'clientOptions' => [
    'skipOuterContainers' => true
]]) ?>

<?php echo EntityDetail::widget([
    'model' => $model,
    'tabTitle' => $this->title,
    // 'withStockTab' => true,
    // 'withSkuTab' => true,
]);
?>

<?php Pjax::end() ?>

